class Master(object):
    def __init__(self):
        self.kongfu = '[古法煎饼果子配方]'

    def print_info(self):
        print(f'运用{self.kongfu}制作煎饼果子')

class Prentice(Master):
    def __init__(self):
        self.kongfu = '[大邱煎饼果子配方]'

    def print_info(self):
        print(f'运用{self.kongfu}制作煎饼果子')

#徒孙类
class Tusun(Prentice):
    pass

xiaodaqiu = Tusun()
xiaodaqiu.print_info()